package com.angel.mocks.data.generator.dataGenerator;

import java.io.Serializable;
import java.util.Collection;

import com.angel.dao.generic.factory.DAOFactory;
import com.angel.dao.generic.interfaces.GenericDAO;
import com.angel.data.generator.interfaces.DataGenerator;

/**
 *
 * @author William
 */
public class UserGenerator implements DataGenerator {
    /**
	 *
	 */
	private static final long serialVersionUID = 1570123667875640283L;

	@SuppressWarnings("unchecked")
	public Class<? extends DataGenerator>[] getDependecesGenerators() {
        return (Class<? extends DataGenerator>[]) new Class[0];
    }

    public void generateData(Collection<Object> objects, DAOFactory daoFactory) {

    }

    public Class<? extends Object> getDataGeneratorClass() {
        return Object.class;
    }

    public GenericDAO<Object, Serializable> getGenericDAO() {
        //return (GenericDAO<Object, Serializable>) ApplicationContextSpring.createInstance().prepareApplicationContext().getBean("userDAO");
    	return null;
    }

    public Class<?> thisDataGeneratorClass() {
		return this.getClass();
	}
}
